﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DAL;
using DTO;
namespace BLL
{
    public class ThucDon_BLL
    {
        private ThucDon_DAL data = new ThucDon_DAL();
        public List<ThucDon_DTO> DS_ThucDon()
        {
            return data.DS_ThucDon();
        }
        public void ThemThucDon(ThucDon_DTO td)
        {
            data.ThemThucDon(td);
        }
        public void Xoa(ThucDon_DTO td)
        {
            data.Xoa(td);
        }
        public void Sua(ThucDon_DTO td)
        {
            data.Sua(td);
        }
        public List<ThucDon_DTO> DS_ThucDonTheoThu(string thu)
        {
            return data.DS_ThucDonTheoThu(thu);
        }
       

        public List<ThucDon_DTO> DS_ThucDonTheoNgay(DateTime ngay)
        {
            return data.DS_ThucDonTheoNgay(ngay);
        }
    }
}
